package com.qn.analyze.service;


import com.qn.analyze.entity.LanguageMetrics;
import com.qn.analyze.entity.UserAgentMetrics;
import com.qn.analyze.mapper.LanguageMetricsMapper;
import com.qn.analyze.mapper.UserAgentMetricsMapper;
import com.qn.analyze.vo.LanguageMetricsQueryVo;
import com.qn.analyze.vo.UserAgentMetricsQueryVo;
import com.qn.common.base.BaseServiceImpl;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@DubboService(version = "1.0.0")
public class UserAgentMetricsServiceImpl
        extends BaseServiceImpl<UserAgentMetrics>
        implements UserAgentMetricsService {

    @Autowired
    UserAgentMetricsMapper baseMapper;


    @Override
    public List<UserAgentMetrics> getDeviceClassList(UserAgentMetricsQueryVo where) {
        return baseMapper.getDeviceClassList(where);
    }

    @Override
    public List<UserAgentMetrics> getDeviceBrandList(UserAgentMetricsQueryVo where) {
        return baseMapper.getDeviceBrandList(where);
    }

    @Override
    public List<UserAgentMetrics> getSystemNameList(UserAgentMetricsQueryVo where) {
        return baseMapper.getSystemNameList(where);
    }

    @Override
    public List<UserAgentMetrics> getBrowserTypeList(UserAgentMetricsQueryVo where) {
        return baseMapper.getBrowserTypeList(where);
    }

    @Override
    public List<UserAgentMetrics> getBrowserNameList(UserAgentMetricsQueryVo where) {
        return baseMapper.getBrowserNameList(where);
    }

    @Override
    public List<UserAgentMetrics> getSystemNameStatisticsList(UserAgentMetricsQueryVo where) {
        return baseMapper.getSystemNameStatisticsList(where);
    }

    @Override
    public List<UserAgentMetrics> getBrowserNameStatisticsList(UserAgentMetricsQueryVo where) {
        return baseMapper.getBrowserNameStatisticsList(where);
    }
}
